package com.ateam.biz;

import java.util.List;

import com.ateam.pojo.Users;

/** 
* @author WuYuan
* 
*/
public interface UsersBiz {
	public Users loginUser(Users u);
	public int registerUser(Users u);
	public List<Users> getUsersByCompanyid(int companyid);
	public List<Users> getUsersByProjectid(int projectid);
	public List<Users> getUsersByNoProjectid(int companyid, int projectid);
	public int addUserProject(int projectid, int[] memberids);
	public List<Users> getUsersByGroupid(int groupid);
	public List<Users> getUsersByNoGroupid(int companyid, int groupid);
	public int addUserGroup(int groupid, int[] memberids);
	public List<Users> getCompanyApplyer(int companyid);
	public int updateUserInfo(Users changeduser, Users currentuser);
}
